package com.tony.mindwarning.mpper;

import com.tony.mindwarning.pojo.Outbround;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 *
 * @Title: OutbroundMapper
 * @Auther: 皮蛋布丁
 * @Date: 2021/04/11/16:28
 * @Description:
 */
@Mapper
public interface OutbroundMapper {

    /**
     * @Description: outbround 商品出库
     * @Param: [inbround]
     * @return: int
     * @Author: 皮蛋布丁
     */
    int outbround(Outbround outbround,int userId);

    /**
     * @Description: getTotlCount 获取总条数
     * @Param: []
     * @return: int
     * @Author: 皮蛋布丁
     */
    int getTotlCount();

    /**
     * @Description: getTypesByPage 获取状态信息(分页)
     * @Param: [map]
     * @return: java.util.List<com.tony.mindwarning.pojo.Inbround>
     * @Author: 皮蛋布丁
     */
    List<Outbround> getOutbroundByPage(Map<String,Object> map);

    /**
     * @Description: deleteOutbroundRecord 根据id删除入库列表
     * @Param: [id]
     * @return: int
     * @Author: 皮蛋布丁
     */
    int deleteOutbroundRecord(int id,int userId);
}
